package com.ourteam.product.model.domain;

/**
 * Template Name : 枚举对象模板
 * Template Version : 1
 * Template Last Modfiy Date : Tue Oct 31 15:27:11 IRKT 2017
 * Auto Generate Date : 2017-11-15 14:54:00
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.lang.enums.Enum;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;


public class ProductModelServiceParameterTypeEnum extends Enum {
    private static Map<String, ProductModelServiceParameterTypeEnum> enumValueMap =
        new HashMap<String, ProductModelServiceParameterTypeEnum>();

    /**
     *
     */
    public static final ProductModelServiceParameterTypeEnum INPUT = new ProductModelServiceParameterTypeEnum("INPUT",
            "");

    /**
     *
     */
    public static final ProductModelServiceParameterTypeEnum OUTPUT = new ProductModelServiceParameterTypeEnum("OUTPUT",
            "");
    private String desc;

    protected ProductModelServiceParameterTypeEnum(String arg0, String aDesc) {
        super(arg0);
        desc = aDesc;
        enumValueMap.put(arg0, this);
    }

    public String getDesc() {
        return desc;
    }

    public static ProductModelServiceParameterTypeEnum getEnum(String arg0) {
        return (ProductModelServiceParameterTypeEnum) enumValueMap.get(arg0);
    }

    public static Collection<ProductModelServiceParameterTypeEnum> getEnumList() {
        return enumValueMap.values();
    }
}
